package com.entity;

import java.sql.Timestamp;

public class Msg {

    private int msgid = 0;//ID
    private String username = null;//发送方
    private String title = null;//标题
    private String msgcontent = null;//内容
    private int state = 0;//用户名
    private String sendto=null;//收件方
    private Timestamp msg_create_date = null;//发送时间

    public int getMsgid() {
        return msgid;
    }

    public void setMsgid(int msgid) {
        this.msgid = msgid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMsgcontent() {
        return msgcontent;
    }

    public void setMsgcontent(String msgcontent) {
        this.msgcontent = msgcontent;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getSendto() {
        return sendto;
    }

    public void setSendto(String sendto) {
        this.sendto = sendto;
    }

    public Timestamp getMsg_create_date() {
        return msg_create_date;
    }

    public void setMsg_create_date(Timestamp msg_create_date) {
        this.msg_create_date = msg_create_date;
    }
}
